<div ng-controller="DataGridDemoLockColumnCtrl">
    <wi-datagrid  dataProvider="dgData" wid="dg" width="100%" height="300"
                  pagemode="client" showno="true" lockcolumns="2">
        <wi-datagrid-column headtext="姓名" datafield="username" width="90"></wi-datagrid-column>
        <wi-datagrid-column headtext="住址" datafield="address" width="130"></wi-datagrid-column>
        <wi-datagrid-column headtext="日期" datafield="date" width="90"></wi-datagrid-column>
        <wi-datagrid-column headtext="数字" datafield="num"></wi-datagrid-column>
        <wi-datagrid-column headtext="姓名2" datafield="username" ></wi-datagrid-column>
        <wi-datagrid-column headtext="姓名3" datafield="username" width="90"></wi-datagrid-column>
        <wi-datagrid-column headtext="姓名4" datafield="username" width="90"></wi-datagrid-column>
        <wi-datagrid-column headtext="姓名5" datafield="username" width="90"></wi-datagrid-column>
        <wi-datagrid-column headtext="姓名6" datafield="username" width="90"></wi-datagrid-column>
        <wi-datagrid-column headtext="姓名7" datafield="username" width="90"></wi-datagrid-column>
    </wi-datagrid>
</div>
